<template>
  <div>
    <div>
      <h4>感觉功能检查</h4>
      <el-row type="flex" justify="space-between">
        <el-col>
          浅感觉：
        </el-col>
        <el-col :span="5">
          <div>
            <span>触觉 </span>
            <el-select v-model="pgForm.light_touch" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>痛觉 </span>
            <el-select v-model="pgForm.light_pain" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>温度觉 </span>
            <el-select v-model="pgForm.light_temperature" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>压觉 </span>
            <el-select v-model="pgForm.light_press" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col>
          深感觉：
        </el-col>
        <el-col :span="5">
          <div>
            <span>运动觉 </span>
            <el-select v-model="pgForm.deep_move" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>位置觉 </span>
            <el-select v-model="pgForm.deep_location" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>震动觉 </span>
            <el-select v-model="pgForm.deep_shake" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>深压觉 </span>
            <el-select v-model="pgForm.deep_press" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col>
          复合感觉：
        </el-col>
        <el-col :span="5">
          <div>
            <span>皮肤定位觉 </span>
            <el-select v-model="pgForm.complex_skin_position" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>两点辨别觉 </span>
            <el-select v-model="pgForm.complex_two_point" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>图形觉 </span>
            <el-select v-model="pgForm.complex_graph" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>实体辨别觉 </span>
            <el-select v-model="pgForm.complex_stereognosis" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "sensory_function_examination",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata;
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      options: [{
        value: '消失',
        label: '消失'
      }, {
        value: '减退',
        label: '减退'
      }, {
        value: '过敏',
        label: '过敏'
      }, {
        value: '倒错',
        label: '倒错'
      }, {
        value: '正常',
        label: '正常'
      }, {
        value: '/',
        label: '/'
      }],
      pgForm: {
        light_touch: '',
        light_pain: '',
        light_temperature: '',
        light_press: '',
        deep_move: '',
        deep_location: '',
        deep_shake: '',
        deep_press: '',
        complex_skin_position: '',
        complex_two_point: '',
        complex_graph: '',
        complex_stereognosis: '',
      }
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-select{
  width: 50%
}

</style>
